import request from "@/api/request";

export default {
    // 获得所有考试班级
    uploadImage:(param,use,problemId,token)=>{
        return request({
            url:`/common/upload?use=${use}&problemId=${problemId}`,
            method:"post",
            headers: {
                'Content-Type': 'multipart/form-data',
                // 'Content-Type': 'application/json',
                'token': token

            },
            // params:param
            data:param
        })
    },

}
